package com.itsense.stock.pojo.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @description: 查询的用户信息
 */
@ApiModel(description = ": 查询的用户信息")
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class SysUserDomain {
    /**
     * 主键
     */
    @ApiModelProperty(value = "主键", position = 1)
    private String id;
    /**
     * 用户名
     */
    @ApiModelProperty(value = "用户名", position = 2)
    private String username;
    /**
     * 密码
     */
    @ApiModelProperty(value = "密码", position = 3)
    private String password;
    /**
     * 手机号
     */
    @ApiModelProperty(value = "手机号", position = 4)
    private String phone;
    /**
     * 真实姓名
     */
    @ApiModelProperty(value = "真实姓名", position = 5)
    private String realName;
    /**
     * 昵称
     */
    @ApiModelProperty(value = "昵称", position = 6)
    private String nickName;
    /**
     * 邮箱
     */
    @ApiModelProperty(value = "邮箱", position = 7)
    private String email;
    /**
     * 状态
     */
    @ApiModelProperty(value = "状态", position = 8)
    private Integer status;
    /**
     * 性别
     */
    @ApiModelProperty(value = "性别", position = 9)
    private Integer sex;
    /**
     * 删除标识
     */
    @ApiModelProperty(value = "删除标识", position = 10)
    private Integer deleted;
    /**
     * 创建人id
     */
    @ApiModelProperty(value = "创建人id", position = 11)
    private String createId;
    /**
     * 更新人id
     */
    @ApiModelProperty(value = "更新人id", position = 12)
    private String updateId;
    /**
     * 创建方式
     */
    @ApiModelProperty(value = "创建方式", position = 13)
    private Integer createWhere;
    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间", position = 14)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="Asia/Shanghai")
    private Date createTime;
    /**
     * 更新时间
     */
    @ApiModelProperty(value = "更新时间", position = 15)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="Asia/Shanghai")
    private Date updateTime;
    /**
     * 创建人名称
     */
    @ApiModelProperty(value = "创建人名称", position = 16)
    private String createUserName;
    /**
     * 更新人名称
     */
    @ApiModelProperty(value = "更新人名称", position = 17)
    private String updateUserName;
}